home *** CD-ROM | disk | FTP | other *** search
- INSTALLDIR= $(HOME)/Apps
-
- DYNAVIEWS= AquariumView.BackO
-
- PSWFILES= wraps.o
-
- THINGSTOREMOVE = wraps.c wraps.h Fish.o RotImage.o Aquarium.o FishBrain.o
-
- .SUFFIXES: .m .o .c .psw
-
- .c.o:
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -DNS3x -c $*.c -o $*.o
- .m.o:
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -DNS3x -c $*.m -o $*.o
-
- AquariumView.BackO: Aquarium.o Aquarium.h Fish.o Fish.h RotImage.o FishBrain.o
- ld -arch i386 -x -r -o AquariumView.BackO Aquarium.o Fish.o RotImage.o wraps.o FishBrain.o
-
- RotImage.o: wraps.o
-
- wraps.o: wraps.psw wraps.c
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -c wraps.c
-
- wraps.c:
- pswrap -h wraps.h -o wraps.c wraps.psw
-
- all: AquariumView.BackO wraps.o
-
- clean::
- rm -rf $(PSWFILES) $(DYNAVIEWS) $(THINGSTOREMOVE)
-
-
- install:: all install-views
-
- install-views::
- mkdirs $(INSTALLDIR)/BackSpace.app && \
- for view in $(DYNAVIEWS); do \
- cp $$view $(INSTALLDIR)/BackSpace.app; \
- done
-